﻿<!DOCTYPE html>
<html>
<head>
<title>户型管理</title>
<meta charset="utf-8">
<meta name="keywords" content="短照中心-湘潭市康复养老中心;">
<meta name="description" content="短照中心-湘潭市康复养老中心;">
<link rel="stylesheet" rev="stylesheet" href="css/framepage.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="js/waitBox/wait.css">

<script src="js/vue.js"></script>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src="js/JSON-js-master/json2.js"></script>
<script src="js/waitBox/wait.js"></script>
</head>

<body style="background:rbg(216,216,216);">
<div class="form_div" id="vue_vm">
  <h3>新增户型</h3>
  <ul>
    <li><span class="tit" style="width:42px;">户型：</span></li>
    <li><span>
      <input type="text" placeholder="请输入户型" style="width:300px;" v-model="data.houseType"/>
      </span></li>
  </ul>
  <ul>
    <li><span　class="tit" style="width:42px;">房间：</span></li>
    <li><span style="display:block;position:absolute;top:12px;left:0;">
      <input class="magic-radio" type="radio" name="roomtype" v-model="data.room" id="r1" value="单间"/>
      <label for="r1" class="label_txt" style="width:100px;">单间</label>
      </span></li>
    <li><span style="display:block;position:absolute;top:12px;left:80px;">
      <input class="magic-radio" type="radio" name="roomtype" v-model="data.room" id="r2" value="一室一厅"/>
      <label for="r2" class="label_txt" style="width:100px;">一室一厅</label>
      </span></li>
    <li><span style="display:block;position:absolute;top:12px;left:160px;">
      <input class="magic-radio" type="radio" name="roomtype" v-model="data.room" id="r3" value="二室一厅"/>
      <label for="r3" class="label_txt" style="width:100px;">二室一厅</label>
      </span></li>
    <li><span style="display:block;position:absolute;top:12px;left:240px;">
      <input class="magic-radio" type="radio" name="roomtype" v-model="data.room" id="r4" value="三室一厅"/>
      <label for="r4" class="label_txt" style="width:100px;">三室一厅</label>
      </span></li>
  </ul>
  <ul>
    <li><span　class="tit" style="width:42px;">类型：</span></li>
    <li><span style="display:block;position:absolute;top:12px;left:0;">
      <input class="magic-radio" type="radio" name="bedtype" id="b1" value="单床" v-model="data.roomType"/>
      <label for="b1" class="label_txt" style="width:100px;">单床</label>
      </span></li>
    <li><span style="display:block;position:absolute;top:12px;left:80px;">
      <input class="magic-radio" type="radio" name="bedtype" id="b2" value="包间" v-model="data.roomType"/>
      <label for="b2" class="label_txt" style="width:100px;">包间</label>
      </span></li>
  </ul>
  <ul>
    <li><span class="tit" style="width:42px;"></span></li>
    <li>
      <input type="button" value="确认提交" class="button button1" style="height:38px;" onClick="save();"/>
    </li>
  </ul>
</div>
<div style="clear:both;"></div>
<div class="list_div" id="vue_vm_list">
  <h3>已有户型</h3>
  <div style="margin:0;padding:0;" v-for="todo in todos">
    <ul>
      <li style="width:100px;"><span style="display:block;position:absolute;top:12px;left:0;">
        <input class="magic-checkbox" type="checkbox" v-bind:name="todo.houseTypeId" v-bind:id="todo.houseTypeId" />
        <label v-bind:for="todo.houseTypeId" class="label_txt" style="width:300px;color:#009688">{{todo.houseType}}</label>
        </span></li>
      <li style="width:100px;margin-left:120px;"><span>{{todo.room}}</span></li>
      <li style="width:100px;"><span>{{todo.roomType}}</span></li>
    </ul>
  </div>
  <div class="for_ie_div"><!--为兼容IE-->
    <ul>
      <li style="width:160px;">
        <input type="button" value="删除" class="button button2" style="height:38px;" onClick="deleteBatch();"/>
      </li>
    </ul>
  </div>
</div>

<script src="js/common.js"></script>
<script src="js/common_function.js"></script> 
<script src="js/busi/house_type.js"></script>
</body>
</html>